<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>xiuGaiXingXi</title>
        <link rel="stylesheet" type="text/css" href="../../../common/css/GeRenHomePage/XGInf.css"/>
    	<script type="text/javascript" src="../../../common/js/jquery-1.11.3.js"></script>
    	
    	<script type="text/javascript" src="../../../common/js/shi.js"></script>
		<script type="text/javascript" src="../../../common/js/sheng.js"></script>
    	
    	
    	
    	
    	<script type="text/javascript">
        
        	$(document).ready(function(){
        		shengObj = document.getElementById("shengselect");
				shiObj = document.getElementById("shiselect");
				
        		var shiArr = new Array();
				for(var i = 0;i<sheng.length;i++) {
					
					shengText = sheng[i].name;
					opt = new Option();
					opt.text = shengText;
					shengObj.add(opt);
					
					
				} 
				 
				 shengObj.onchange = function() {
						shiObj.innerHTML = "<option value='0'>请选择</option>";
						shiArr = new Array();
						//alert(shi.length);
						 for(var i =0;i<shi.length;i++) {
							if(shengObj.selectedIndex == shi[i].ProID) {
								shiArr[shiArr.length] = shi[i];
								shiText = shiArr[shiArr.length - 1].name;
								opt = new Option();
								opt.text = shiText;
								
								shiObj.add(opt);
							}
						} 
				}
				 
				 
				
				 $(".quxiaobaocun").on("click",function(){
						//alert(${user.userId});
						window.location.href="/Homepage/showHomePage3?fleg1=0&EIflog=1"+"&userid="+${user.userId}
					})	
				
			})
        </script>
    	
    </head>
    <body>
    	<div class="mybody_xiugai" >
    		
    		<div class="mybody_xiugai_r" ></div>
    		<div class="mybody_xiugai_con" >
				<form action="/Homepage/showHomePage4" >
				<input type="hidden" name="EIflog" value="1"/>
				<input type="hidden" name="userId" value="${user.userId}"/>
		    	<div class="modal-header">
       				<h4 class="modal-title" >添加基本信息</h4>
      			</div>
      			<input class=""  type="hidden" name="userId">${user.userId}</input>
		   		<div class="EditInfo_main_text_line ">
		    				    	<div class="EditInfo_main_text_r"><p>昵  称 &nbsp： &nbsp<input class="" placeholder="${user.userName}" name="userName"></input></p></div>
		    	</div>
		    	<div class="EditInfo_main_text_line">
		    		<div class="EditInfo_main_text_l" >
		    			<p>性别 :    					
							<label>
					      		<input type="radio" name="userSex" value = "男" checked="true"> 男
					   		</label>
							<label>
					      		<input type="radio" name="userSex" value = "女"> 女
					    	</label>
		    			</p>
		    		</div>	    					
				</div>
		    	<div class="EditInfo_main_text_line">
		    										<div class="EditInfo_main_text_l" >
		    											<p>性取向 :    					
							    								<input type="checkbox" value="man" name="userSexual" />男
																<input type="checkbox" value="female" name="userSexual" checked="true"/>女
		    											</p></div>
							    					
				</div>
				
				<div class="EditInfo_main_text_line">
							<div class="EditInfo_main_text_l">
								<p>感情状况 &nbsp: &nbsp
									<select id="Status" name="userMood">
															<option >请选择</option>
															<option >单身</option>
															<option >求交往</option>
															<option >暗恋中</option>
															<option >暧昧中</option>
															<option >恋爱中</option>
															<option >订婚</option>
															<option >已婚</option>
															<option >分居</option>
															<option >离异</option>
															<option >丧偶</option>
													  </select>
								</p></div>
							    
				</div>
				
				<div class="EditInfo_main_text_line">
					<div class="EditInfo_main_text_l" ><p>生日 &nbsp: &nbsp<input type="date" class="layui-input" id="test11" placeholder="yyyy年MM月dd日" name="userBirthdaystr"></p></div>
 
				</div>
				
				
				<div class="EditInfo_main_text_line">
							    				<div class="EditInfo_main_text_l" >
							    					<p>血型 &nbsp:
							    						<select id="BloodType" name="userBlood">
															<option ></option>
															<option >A型</option>
															<option >B型</option>
															<option >AB型</option>
															<option >O型</option>
													  	</select></p></div>
				
				</div>
				
				
				<div class="EditInfo_main_text_line">
							    				<div class="EditInfo_main_text_l" ><p>博客地址 &nbsp: &nbsp<input class="" placeholder="${user.userBoke}" name="userBoke"></input></p></div>
							    				
				</div>
				
				<div class="EditInfo_main_text_line">
							    				<div class="EditInfo_main_text_l" ><p>个性域名&nbsp: &nbsp<input class="" placeholder="${user.userHabituri}" name="userHabituri"></input></p></div>
							    				
				</div>
				
				
				<div class="EditInfo_main_text_line">
							    				<div class="EditInfo_main_text_l" ><p>简介 &nbsp: &nbsp<input class="" placeholder="${user.userIntroduce}" name="userIntroduce"></input></p></div>
							    				
				</div>
				
				<div class="DanWei_ShuoZhaiDi EditInfo_main_text_line">
					<p >所在地&nbsp:
						<select id="shengselect" name="sheng">
								<option ">请选择</option>
						</select>
						<select id="shiselect" name="shi">
								<option ">请选择</option>
						</select>
					</p>
    					  			
				</div>
				
				<div class="modal-header">
        				<h4 class="modal-title" id="myModalLabel">添加邮箱信息</h4>
      			</div>
      			
      			
      			<div class="EditInfo_main_text_line" >
					    				<div class="EditInfo_main_text_l" ><p>邮箱 &nbsp： &nbsp<input class="" placeholder="${user.userPost}" name="userPost"></input></p></div>
				</div>
					    			
				<div class="EditInfo_main_text_line">
					  <div class="EditInfo_main_text_l" ><p>Q&nbsp;Q &nbsp： &nbsp<input class="" placeholder="${user.userQq}" name="userQq"></input></p></div>
				</div>
					    			
				<div class="EditInfo_main_text_line">
					    				<div class="EditInfo_main_text_l" ><p>MSN &nbsp： &nbsp<input class="" placeholder="${user.userMsn}" name="userMsn"></input></p></div>
				</div>
				
				<div class="modal-header">
       				<h4 class="modal-title" id="myModalLabel">添加职业信息</h4>
      			</div>
      			
	       			<div class="DanWeiMin EditInfo_main_text_line"><p >*单位名称 &nbsp: &nbsp<input placeholder="${user.userProfession}"></input></p></div>					

	    		
	    		<div class="modal-header ">
        			<h4 class="modal-title" id="myModalLabel">添加教育信息</h4>
      			</div>
      						
    				<div class="ZhiWei EditInfo_main_text_line"><p style="line-height: 30px;">*学校名称 &nbsp: &nbsp
    												<select id="Status1" name="userEduc">
															
															<option >幼儿园</option>
															<option >小学</option>
															<option >初中</option>
															<option >高中</option>
															<option >专科</option>
															<option >本科</option>
															<option >硕士</option>
															<option >博士</option>
															<option >家里蹲</option>
															
													  </select></p></div>
				
      			<div class="modal-header">
       				<button type="submit" class="baocunxingxi">保存</button>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<button type="button" class="quxiaobaocun">取消</button>
      			</div>			
    				

    		</form>	
    		</div>
    		
    		
    	</div>
    	
    	
 	</body>
</html>